package com.study.entity;

public class User {
    private String name ;

    public User(String name){
        System.out.println("User的有参构造,参数String:" +name );
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("name = " + name);
    }
}
